package com.my.drools;

import com.my.drools.util.CreateDroolsFile;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.io.IOException;
import java.util.Timer;

@SpringBootApplication
public class DroolsDemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(DroolsDemoApplication.class, args);
        Timer timer = new Timer();
        timer.schedule(new Test(), 0, 2000);

    }

}
